#if !defined(AFX_TRAINDLG_H__C4828E83_3975_44A4_9B3B_9AA41B88CE5A__INCLUDED_)
#define AFX_TRAINDLG_H__C4828E83_3975_44A4_9B3B_9AA41B88CE5A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TrainDlg.h : header file
//

#include "TrainPropertySheet.h"

class CConfigGUIDlg;

/////////////////////////////////////////////////////////////////////////////
// CTrainDlg dialog

class CTrainDlg : public CDialog
{
// Construction
public:
	DECLARE_DYNAMIC(CTrainDlg)
	CTrainDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CTrainDlg)
	enum { IDD = IDD_TRAINDLG };
	//}}AFX_DATA

	CTrainPropertySheet*	m_psTrain;
	CConfigGUIDlg*			m_pConfig;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTrainDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTrainDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	inline void EnsureApplication(void) {  }
	inline void SetDlgParent(CConfigGUIDlg* pConfig) { m_pConfig = pConfig; }
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TRAINDLG_H__C4828E83_3975_44A4_9B3B_9AA41B88CE5A__INCLUDED_)
